package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物流商信息对象 carrier_info
 * 
 * @author ruoyi
 * @date 2025-03-31
 */
public class CarrierInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物流商编码 */
    private String carrierNo;

    /** 物流商名称 */
    @Excel(name = "物流商名称")
    private String carrierName;

    /** 物流商类型 */
    @Excel(name = "物流商类型")
    private Integer carrierType;

    /** 物流商的详细地址 */
    @Excel(name = "物流商的详细地址")
    private String carrierAddress;

    /** 物流商的联系电话 */
    @Excel(name = "物流商的联系电话")
    private String contactPhone;

    /** 主要联系人姓名 */
    @Excel(name = "主要联系人姓名")
    private String contactPerson;

    /** 主要联系人人的电子邮箱 */
    @Excel(name = "主要联系人人的电子邮箱")
    private String contactEmail;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date generateDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedDate;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatedPerson;

    /** 状态 0:未生效 1:生效 */
    @Excel(name = "状态 0:未生效 1:生效")
    private Integer activeStatus;

    public void setCarrierNo(String carrierNo) 
    {
        this.carrierNo = carrierNo;
    }

    public String getCarrierNo() 
    {
        return carrierNo;
    }
    public void setCarrierName(String carrierName) 
    {
        this.carrierName = carrierName;
    }

    public String getCarrierName() 
    {
        return carrierName;
    }
    public void setCarrierType(Integer carrierType) 
    {
        this.carrierType = carrierType;
    }

    public Integer getCarrierType() 
    {
        return carrierType;
    }
    public void setCarrierAddress(String carrierAddress) 
    {
        this.carrierAddress = carrierAddress;
    }

    public String getCarrierAddress() 
    {
        return carrierAddress;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setContactPerson(String contactPerson) 
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson() 
    {
        return contactPerson;
    }
    public void setContactEmail(String contactEmail) 
    {
        this.contactEmail = contactEmail;
    }

    public String getContactEmail() 
    {
        return contactEmail;
    }
    public void setGenerateDate(Date generateDate) 
    {
        this.generateDate = generateDate;
    }

    public Date getGenerateDate() 
    {
        return generateDate;
    }
    public void setUpdatedDate(Date updatedDate) 
    {
        this.updatedDate = updatedDate;
    }

    public Date getUpdatedDate() 
    {
        return updatedDate;
    }
    public void setUpdatedPerson(String updatedPerson) 
    {
        this.updatedPerson = updatedPerson;
    }

    public String getUpdatedPerson() 
    {
        return updatedPerson;
    }
    public void setActiveStatus(Integer activeStatus) 
    {
        this.activeStatus = activeStatus;
    }

    public Integer getActiveStatus() 
    {
        return activeStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carrierNo", getCarrierNo())
            .append("carrierName", getCarrierName())
            .append("carrierType", getCarrierType())
            .append("carrierAddress", getCarrierAddress())
            .append("contactPhone", getContactPhone())
            .append("contactPerson", getContactPerson())
            .append("contactEmail", getContactEmail())
            .append("generateDate", getGenerateDate())
            .append("updatedDate", getUpdatedDate())
            .append("updatedPerson", getUpdatedPerson())
            .append("activeStatus", getActiveStatus())
            .toString();
    }
}
